Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Conversation

@zupo
Copy link
Contributor

@zupo zupo commented Jul 9, 2013

In some cases, for example when a frame is App.ZApplication.ZApplicationWrapper, then "frame.f_locals.get('self', None)" raises a maximum recursion depth error. This fix catches these and moves further so Zope continues to run (without the fix Zope breaks) and we still get a (request-less) error report in Sentry.

In some cases, for example when a frame is App.ZApplication.ZApplicationWrapper, then "frame.f_locals.get('self', None)" raises a maximum recursion depth error. This fix catches these and moves further so Zope continues to run (without the fix Zope breaks) and we still get a (request-less) error report in Sentry.
@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling 49f9e65 on zupo:patch-1 into 94c2d12 on getsentry:master.

xordoquy added a commit that referenced this pull request Jul 9, 2013
Handle recursion errors
@xordoquy xordoquy merged commit ebe3428 into getsentry:master Jul 9, 2013
@xordoquy
Copy link
Contributor

xordoquy commented Jul 9, 2013

Thanks for the PR. It's nice raven will be able to able this edge case :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants